//
//  PhotoView.h
//  Shows
//
//  Created by Roc on 11-4-15.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ASIHTTPRequestDelegate.h"
#import "ASIProgressDelegate.h"

@interface PhotoView : UIImageView <ASIHTTPRequestDelegate, ASIProgressDelegate> {
    UIActivityIndicatorView*  _statusSpinner;
    NSURLConnection* _connection;
    NSInteger _index;
    NSString* _urlPath;
    NSHTTPURLResponse* _response;
    NSMutableData* _responseData;
}

@property (assign) NSInteger index;

- (void)load:(NSString*)urlPath;
- (void)clean;
@end
